/**
 * Copyright (c) 2017, Alex. All rights reserved.
 */
package com.oschina.bottle.mysql.enums;

/**
 * 驱动
 *
 * @author <a href="mailto:zhongchao@gegejia.com">zhong</a>
 * @version 1.0 2017/9/28
 * @since 1.0
 */
public enum  Driver
{
    //单数据库采用驱动
    SINGLE("com.mysql.jdbc.Driver"),

    //多数据源采用驱动
    REPLICATION("com.mysql.jdbc.ReplicationDriver"),

    ;

    private String name;

    Driver(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
}
